﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace TIMETABLEASY.EasyCalendar.Controler
{
    public class EventCalendar : ContentControl
    {
        static EventCalendar()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(EventCalendar), new FrameworkPropertyMetadata(typeof(EventCalendar)));
        }

        #region StartTime/EndTime

        public static readonly DependencyProperty StartTimeProperty =
            EventPanel.StartTimeProperty.AddOwner(typeof(EventCalendar));

        public bool StartTime
        {
            get { return (bool)GetValue(StartTimeProperty); }
            set { SetValue(StartTimeProperty, value); }
        }

        public static readonly DependencyProperty EndTimeProperty =
            EventPanel.EndTimeProperty.AddOwner(typeof(EventCalendar));

        public bool EndTime
        {
            get { return (bool)GetValue(EndTimeProperty); }
            set { SetValue(EndTimeProperty, value); }
        }

        #endregion


    }
}
